require("lualib_bundle");
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["4"] = 1,["5"] = 1,["6"] = 4,["7"] = 4,["8"] = 4,["10"] = 4,["11"] = 7,["12"] = 8,["13"] = 9,["14"] = 10,["15"] = 11,["16"] = 11,["17"] = 12,["18"] = 13,["20"] = 15,["21"] = 11,["22"] = 16,["23"] = 17,["24"] = 11,["25"] = 11,["26"] = 19,["27"] = 7,["28"] = 4});
local ____exports = {}
local ____RectUtil = require("solar.util.RectUtil")
local RectUtil = ____RectUtil.default
____exports.default = __TS__Class()
local DestructableUtil = ____exports.default
DestructableUtil.name = "DestructableUtil"
function DestructableUtil.prototype.____constructor(self)
end
function DestructableUtil.hasDestructableInRect(centerX, centerY, radius, destructableId)
    local r = RectUtil.GetRectFromCircle(centerX, centerY, radius)
    local flag = false
    local destructableId_num = FourCC(destructableId)
    r:enumDestructables(
        Filter(function()
            if GetDestructableTypeId(GetFilterDestructable()) == destructableId_num then
                return true
            end
            return false
        end),
        function()
            flag = true
        end
    )
    return flag
end
____exports.default = DestructableUtil
return ____exports
